import { getStream } from '../Core/connect'
import { Vector3 } from '../Math/Vector3'

export const SkyLine = {
    openSkyLine(width: Number,color: Vector3) {
        const stream = getStream()
        const str = {skyLineFunction: 'openSkyLine',lineWidth: width, lineColor: color}
        stream.emitUIInteraction(str)
    },
    removeSkyLine() {
        const stream = getStream()
        const str = {skyLineFunction: 'removeSkyLine'}
        stream.emitUIInteraction(str)
    }
}